package com.jianggy.observer.listener;

import java.util.EventObject;

/**
 * 双击事件监听
 * @author jianggy
 *
 */
public class DoubleClickListener implements ClickListener {

	@Override
	public void onClick(EventObject event) {
		if (((CustomEvent)event).getClick() ==2) {
			System.out.println("user click the evnetsource double times");
		}

	}

}
